package com.wordlearning.app.service;

import com.wordlearning.app.entity.VoiceSetting;

import java.util.Optional;

public interface VoiceSettingService {

    VoiceSetting createVoiceSetting(VoiceSetting voiceSetting);
    Optional<VoiceSetting> getVoiceSettingById(Long id);
    Optional<VoiceSetting> getVoiceSettingByUserId(Long userId);
    VoiceSetting updateVoiceSetting(Long id, VoiceSetting voiceSetting);
    void deleteVoiceSetting(Long id);
    VoiceSetting getOrCreateDefaultVoiceSetting(Long userId);

}